package com.zrrd.blog.api.feign;

import com.zrrd.blog.api.entities.UserInfoREQ;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "question-server",path = "/question")
public interface IFeignQuestionController {
    @ApiOperation("feign接口-更新回答和回答列表中的用户信息")
    @PutMapping("/feign/question/user")
    boolean updateUserInfo(@RequestBody UserInfoREQ req);
}
